<div class="dnnFormItem">
[<tag id="lblfiltermode" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblfiltermode" />][<tag id="rblfiltermode" type="radiobuttonlist" datavalue="s;f" data="Search;Filter" repeatcolumns="3"  selectedvalue="s" resourcekey="ProductSearchSettings.rblfiltermode" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lbltextsearch" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltextsearch" />][<tag id="chktextsearch" type="checkbox" Text="" checked="True" />]<br/>
</div>
<div class="textsearch">
<div class="dnnFormItem textsearch">
[<tag id="lbltxtsummary" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltxtsummary" />][<tag id="chktxtsummary" type="checkbox" Text="" checked="True" />]<br/>
</div>
<div class="dnnFormItem textsearch">
[<tag id="lbltxtmanufacturer" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltxtmanufacturer" />][<tag id="chktxtmanufacturer" type="checkbox" Text="" checked="True" />]<br/>
</div>
<div class="dnnFormItem textsearch">
[<tag id="lbltxtseoname" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltxtseoname" />][<tag id="chktxtseoname" type="checkbox" Text=""  />]<br/>
</div>
<div class="dnnFormItem textsearch">
[<tag id="lbltxtseopagetitle" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltxtseopagetitle" />][<tag id="chktxtseopagetitle" type="checkbox" Text=""  />]<br/>
</div>
<div class="dnnFormItem textsearch">
[<tag id="lbltxttagwords" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbltxttagwords" />][<tag id="chktxttagwords" type="checkbox" Text="" checked="True" />]<br/>
</div>
<div class="dnnFormItem textsearch">
[<tag id="lbldescription" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbldescription" />][<tag id="chkdescription" type="checkbox" Text="" />]<br/>
</div>
</div>
<div class="dnnFormItem">
[<tag id="lblinstock" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblinstock" />][<tag id="chkInStock" type="checkbox" Text="" checked="False" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblpricerange" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblpricerange" />][<tag id="chkpricerange" type="checkbox" Text="" checked="False" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblorderselector" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblorderselector" />][<tag id="orderselector" type="checkbox" Text="" checked="False" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatselect" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatselect" />][<tag id="chkcatselect" type="checkbox" Text="" checked="True" />]<br/>
</div>
<div class="dnnFormItem categorysearchptions">
<div class="dnnFormItem">
[<tag id="lblcatsearchtype" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatsearchtype" />][<tag id="rblcatsearchtype" type="radiobuttonlist" data="AND;OR;CASCADE" repeatcolumns="3" selectedvalue="CASCADE" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblparentcatref" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblparentcatref" />][<tag id="parentcatref" type="textbox" width="200" maxlength="50" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatreflist" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatreflist" />][<tag id="catreflist" type="textbox" width="400" maxlength="500" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatrepeatcolumns" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatrepeatcolumns" />][<tag id="catrepeatcolumns" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lbldisplaylevels" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbldisplaylevels" />][<tag id="displaylevels" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>

[<tag id="lblgroupselect1" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblgroupselect1" />][<tag id="chkgroupselect1" type="checkbox" Text="" checked="False" />]<br/>
<div class="dnnFormItem searchgroup1">
<hr/>
<h3>AND</h3>
<div class="dnnFormItem">
[<tag id="lblparentcatref1" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblparentcatref1" />][<tag id="parentcatref1" type="textbox" width="200" maxlength="50" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatreflist1" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatreflist1" />][<tag id="catreflist1" type="textbox" width="400" maxlength="500" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatrepeatcolumns1" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatrepeatcolumns1" />][<tag id="catrepeatcolumns1" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lbldisplaylevels1" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbldisplaylevels1" />][<tag id="displaylevels1" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblgroupselect2" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblgroupselect2" />][<tag id="chkgroupselect2" type="checkbox" Text="" checked="False" />]<br/>
</div>
<div class="dnnFormItem searchgroup2">
<hr/>
<h3>AND</h3>
<div class="dnnFormItem">
[<tag id="lblparentcatref2" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblparentcatref2" />][<tag id="parentcatref2" type="textbox" width="200" maxlength="50" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatreflist2" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatreflist2" />][<tag id="catreflist2" type="textbox" width="400" maxlength="500" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblcatrepeatcolumns2" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblcatrepeatcolumns2" />][<tag id="catrepeatcolumns2" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lbldisplaylevels2" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lbldisplaylevels2" />][<tag id="displaylevels2" type="textbox" text="1" width="30" maxlength="5" />]<br/>
</div>
</div>
</div>

</div>

<hr/>
<div class="dnnFormItem">
[<tag id="lblprimarybuttonclass" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblprimarybuttonclass" />][<tag id="primarybuttonclass" type="textbox" text="primarybutton" width="200" maxlength="50" />]<br/>
</div>
<div class="dnnFormItem">
[<tag id="lblsecondarybuttonclass" type="dnn:labelcontrol" resourcekey="ProductSearchSettings.lblsecondarybuttonclass" />][<tag id="secondarybuttonclass" type="textbox" text="secondarybutton" width="200" maxlength="50" />]<br/>
</div>


<script>

function displaycheckboxs()
 {
	if ($("input[[id*='chkcatselect']]").prop('checked') == false) $('.categorysearchptions').hide();
	if ($("input[[id*='chkgroupselect1']]").prop('checked') == false) $('.searchgroup1').hide();
	if ($("input[[id*='chkgroupselect2']]").prop('checked') == false) $('.searchgroup2').hide();

    $("input[[id*='chkcatselect']]").change(function() {
		$('.categorysearchptions').show();
		if ($("input[[id*='chkcatselect']]").prop('checked') == false) $('.categorysearchptions').hide();
    });
    $("input[[id*='chkgroupselect1']]").change(function() {
		$('.searchgroup1').show();
		if ($("input[[id*='chkgroupselect1']]").prop('checked') == false) $('.searchgroup1').hide();
    });
    $("input[[id*='chkgroupselect2']]").change(function() {
		$('.searchgroup2').show();
		if ($("input[[id*='chkgroupselect2']]").prop('checked') == false) $('.searchgroup2').hide();
    });
	
	if ($("input[[id*='chktextsearch']]").prop('checked') == false) $('.textsearch').hide();

    $("input[[id*='chktextsearch']]").change(function() {
		$('.textsearch').show();
		if ($("input[[id*='chktextsearch']]").prop('checked') == false) $('.textsearch').hide();
    });
 }

$(document).ready(function() {
	displaycheckboxs();
});

</script>
